#make for wlog project
CC= g++
CPPFLAGS = -Wall

objects = Common.o ILevel.o Test.o ILogProcess.o Record.o IOuter.o XmlOuter.o RegularOuter.o BlockOuter.o WLogInterface.o

love: allobjs
	$(CC) -o run $(objects)

so: allobjs
	$(CC) -fPIC -shared -o libwlog.so $(objects)

a: allobjs
	ar rcs libwlog.a $(objects)

allobjs: $(objects)
$(objects): %.o: %.cpp
	$(CC) -c $(CPPFLAGS) $< -o $@

clean:
	rm -f run libwlog.a libwlog.so $(objects)
